package com.bawei.hfgc.splash.api;

import com.bawei.hfgc.frgacty.ConfigEntity;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface Api {
    String IMAGEFILE = "http://118.195.161.134:8066/fileDownload?fileName=";
//      获取token
    @POST("sysToken/getToken")
    Observable<ToKenEntity>requestToken(@Body RequestBody body);
//        主页面
    @POST("userCenter/getConfig")
    Observable<ConfigEntity>requestConfig(@Body RequestBody body);

}